﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ServiceModel;
using IFServerDLL.Model;
using IFServerDLL.Broker;
using HCY.CTP.DBShangZheng;
using IFServerDLL.DB;

namespace IFServerDLL
{
    [ServiceContract]
    public interface ICommandData
    {
        [OperationContract]
        UserOrderTrade Login(BrokerUserBase brokerUser);
       
        [OperationContract]
        void OrderInsert(Guid userID, UserOrdBase ord);
        [OperationContract]
        void OrderCancel(Guid userID, Guid orderID,Guid calcID);
        [OperationContract]
        void AddMarketData(Guid userID, MyDBData data);
    }
}
